package com.itcast.domain;

/**
 * @param
 * @return
 */
public class User {
    private Integer id;//用户编号
    private String username;//用户名
    private Integer password;//密码


    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", password=" + password +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Integer getPassword() {
        return password;
    }

    public void setPassword(Integer password) {
        this.password = password;
    }

    public User(Integer id, String username, Integer password) {
        this.id = id;
        this.username = username;
        this.password = password;
    }

    public User() {
    }
}
